import javax.media.opengl.GL;
import javax.media.opengl.GL2;
import javax.media.opengl.GLAutoDrawable;

public class Circle extends SceneGraphNode {
  public static final float SIN_60 = (float)Math.sin(Math.PI / 3);

  public Circle() {
    this(true);
  }
  
  public Circle(boolean pickable) {
    super(pickable);
  }

  public void renderGeometry(GLAutoDrawable drawable) {
    
    for (int i = 0; i <= 35; i++) 
    {
    
    
    GL2 gl = drawable.getGL().getGL2();
    gl.glBegin(GL.GL_TRIANGLES);
    gl.glColor3f(1, .8f, 0);
    gl.glVertex2f(1f, 0.09f);
    gl.glColor3f(1, .7f, 0);
    gl.glVertex2f(1, -0.09f);
    gl.glColor3f(1, .6f, 0);
    gl.glVertex2f(0,0);
    gl.glEnd();
    gl.glRotatef(10,0,0,1);
   
  }
  
  }
  
}